package top.lfyao.designpattern.details.iterator;

/**
 * 迭代器接口
 * @param <T>
 */
public interface Iterator<T> {
    T first();

    T next();

    boolean isDone();

    T currentItem();
}
